[NTG-context] Re: what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-24 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 20.04.2024 um 23:00: I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP

[NTG-context] what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-20 Thread garulfo
I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP} numeric n ; n := \number\realpageno ; numeric m ; m

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Pablo Rodriguez via ntg-context
e I cannot just adjust > slightly adjust the dimensions to get rid of that. It seems that you can place the figures somehow (https://www.pragma-ade.nl/general/qrcs/setup-en.pdf#page=169): See the extreme example: \showframe\showgrid\showstruts \setupexternalfigures [location={lo

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Pablo Rodriguez via ntg-context
On 4/19/24 17:51, Denis Maier via ntg-context wrote: > Hi again, > > another follow up. Can anyone confirm this issue? Is there a way to set > the minimal width of graphics? Hi Denis, maximum widht or height work fine, but their minimum counterparts seem not to be working at all:

[NTG-context] New example with both sides margin

2024-03-27 Thread Ursula Hermann
Dear Pablo, Here is my example: \setuppapersize[A4] \setupbodyfont[termes, 12.50pt] \setuplayout[backspace=2.9cm, width=fit] \ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm] \showframe

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
quot; in the following example. begin example \showframe \starttext \setuphead[chapter][header=high] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \setuphead[chapter][header=empty] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext end example A

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
, how? When you use "header=high" you can't have a header because the block for it no longer exists, compare the results for "header=high" and "header=empty" in the following example. begin example \showframe \starttext \setuphead[chapter][header=high] \ch

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
,width=4cm] \inrightmargin{\blackrule\\{3.2.2}}\par \dontleavehmode \blackrule \showframe \starttext Me \stoptext Von: Pablo Rodriguez via ntg-context Gesendet: Freitag, 15. März 2024 20:00:35 An: ntg-context@ntg.nl Cc: Pablo Rodriguez Betreff: [NTG-context] Re

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
=footer] \setupheadertexts[\CONTEXT\ imposition test] \showframe \setupbackgrounds [text][text][background=color,backgroundcolor=lightgray] % Where the block of pages is placed on the sheet % (relevant if there is space left over.) \setuplayout [location=middle,marking=on] \startbuffer[Fakepage

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
On 3/15/24 14:06, Ursula Hermann wrote: > Dear List,  Dear Ursula, this might help you (it isn’t perfect, but you just seem to copy and paste fragments from your source files): %\showframe\showstruts \mainlanguage[de-at] \setuppagenumbering[alternative=doublesided] \definemargind

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
odyfontsize, footerdistance=\bodyfontsize] \definehighlight [sesamedot] %\showframe %\showgrid %\showboxes %\showmakeup % [glyph,fontkern] \starttext \starttitle [title={ごん狐}] [author={新美南吉},source={https://www.aozora.gr.jp/cards/000121/files/628_14895.html}] \startsubject [title={一}] これは、\ruby

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
l-Fārābī, محمد فارابی), par le biais d'une précision sur Platon, avec des indications sur son nom en arabe, on aura fait le tour de quelques difficultés qui se présentent à ceux qui voudraient établir avec soin des documents un peu exigeants. % \showframe \startMyFrame[Title=Con

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
/limitations. What is the the easiest way to achieve this? begin example \setuppagenumbering [alternative=doublesided] \setuplayout [width=10cm, rightmargin=6cm] \showframe \def\FloatTableALignment {\dowithnextbox {\ifdim\nextboxwd>\textwidth \doalignedline{in

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Marco Patzer
ge] \setuppagenumbering [state=stop] \setupmakeup [standard] [align=middle] \setupblank [2*line] \showframe \starttext \dorecurse{12}{%% \startstandardmakeup Text \blank {\tfd\recurselevel} \blank Text \stopstandardmakeup \page} \stoptext That's how I

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Jigé via ntg-context
Thanks Wolfgang. Is this expected behavior? I'm very much confused with my second example: \setuppapersize[A5][A4] %\setuplayout[location=middle] \setuplayout[location=middle,width=middle] %\setuplayout[location=middle,width=middle,backspace=2.5cm] \usemodule[ipsum] \starttext \showframe Hello

[NTG-context] margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Jigé via ntg-context
=0mm,     height=250mm] \starttext \showlayout \stoptext Another example: \setuppapersize[A5][A4] \setuplayout[location=middle] \usemodule[ipsum] \starttext \showframe \ipsum \stoptext Thanks, Jean-Guillaume mise_en_page-layout.pdf Description: Adobe PDF document

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
add width=fit, such as in: \setuplayout[width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame

[NTG-context] Re: marginwidths

2023-12-03 Thread Pablo Rodriguez via ntg-context
width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame \showlayout \stoptext I wonder whether I might be missing

[NTG-context] Re: marginwidths

2023-11-22 Thread Wolfgang Schuster
what is left][rightmargin 60mm] this should leave 210-40-60=110mm in the middle, but doesn't. The textwidth is narrowed but the margins refuse to obey their setting. yours sincerely dr. Hans van der Meer \setuppapersize[A4][A4] \setuplayout[leftmargin=40mm,rightmargin=60mm,textwidth=110mm] \showframe

[NTG-context] Re: marginwidths

2023-11-22 Thread Hans van der Meer via ntg-context
in the middle, but doesn't.The textwidth is narrowed but the margins refuse to obey their setting. yours sincerelydr. Hans van der Meer\setuppapersize[A4][A4]\setuplayout[leftmargin=40mm,rightmargin=60mm,textwidth=110mm]\showframe\starttextsetuplayout: leftmargin=40mm, rightmargin=60mm, textwidth=110mm

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
On 11/19/23 13:27, Miguel Diaz wrote: > [...] Hi Miguel, I don’t use the grid. This is also the default in ConTeXt. I’m not sure whether I’m getting your point here. See what the difference between not enabling the grid and enabling it: \showframe\showgrid \setupwhitespace[med

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't work in framed environment. > > This is a short code: > > \definefontfeature[default][default][expansion=quality,protrusion=quality] > > \setupalign[hz,hanging] > > \showfram

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
I forgot to attach the pdf. Eredeti levél Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Wolfgang Schuster
Csikos Bela schrieb am 20.10.2023 um 14:53: Hello: Protrusioin doesn't work in framed environment. This is a short code: \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \showframe \starttext \input tufte \blank \framed[frame=off

[NTG-context] protrusion in framed

2023-10-20 Thread Csikos Bela
Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\blank

[NTG-context] Re: numbered itemize list item label alignment

2023-10-19 Thread Csikos Bela
the below code but the 3 digit labels' left sides go into the left > > margin. How can I fix it? > > > > Code: > > > > \showframe > > \starttext > > \startitemize[n,broad][itemalign=flushright] > > \dorecurse{250}{\item } > > \stopite

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Aditya Mahajan
right and the widest > > label's left side located at the left margin. > > I tried the below code but the 3 digit labels' left sides go into the left > > margin. How can I fix it? > > > > Code: > > > > \showframe > > \starttext > > \start

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Wolfgang Schuster
but the 3 digit labels' left sides go into the left margin. How can I fix it? Code: \showframe \starttext \startitemize[n,broad][itemalign=flushright] \dorecurse{250}{\item } \stopitemize \stoptext You can use the width-key to set a value for the number, below is a example for method

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Pablo Rodriguez
tried the below code but the 3 digit labels' left sides go into the > left margin. How can I fix it? Hi Csikos, width is the key, such as in: \showframe\showgrid\showstruts \starttext \startitemize[n,broad][width=.125tw, itemalign=flushright] \dorecurse{250}{\item } \stopitemize

[NTG-context] numbered itemize list item label alignment

2023-10-15 Thread Csikos Bela
margin. How can I fix it?Code:\showframe\starttext\startitemize[n,broad][itemalign=flushright]\dorecurse{250}{\item }\stopitemize\stoptextThe resulted pdf is attached as context-itemize-label-alignment.pdf.Thank you in advance,bcsikos context-itemize-label-alignment.pdf Description: Adobe PDF

[NTG-context] Bug? Text following columns at end of page goes into footer not next page

2023-09-30 Thread Bruce Horrocks
Two column text that ends near the foot of a page can push the next line into the footer rather than starting a new page. MWE for ConTeXt ver: 2023.09.26 18:19 LMTX :- \setuppapersize [A4] \showframe \starttext Knuth in knolumns \dorecurse{30}{\crlf} \startcolumns \input knuth \stopcolumns

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Wolfgang Schuster
: \showframe\showgrid\showstruts \setuppapersize[A6] \setupitemgroup [itemize][1] [ before={\blank[quarterline]}, after={\blank[quarterline]\null}] \starttext one \startblockquote \startitemize \item

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
On 9/26/23 12:52, gerard.degreve wrote: > Hello Pablo, > > Just try to do this : >> \setupitemgroup >> [itemize][1] >> [ before={\blank[.125th]}, >> after={\blank[.125th]}\strut] Hi Gerard, this also works with \null, but not well with small dimensions:

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
in file './pablo.tex': Me (badness 1448) tex error > tex error on line 7 in file ./pablo.tex: Undefined control sequence \margintext{\blackrule\\{Me}}\dontleavethemode \blackrule 1 \setuppapersize[A8,landscape] 2 \setuplayout[leftmargin=2.5cm, 3 leftm

[NTG-context] (no subject)

2023-09-05 Thread Ursula Hermann
Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
is that both values are reset on the following page and with \startsectionblockenvironment you can make this layout change in the style file of your document. \startsectionblockenvironment[frontpart] \setupheader[state=high] \setupfooter[state=high] \stopsectionblockenvironment \showframe \starttext

[NTG-context] After compiling

2023-09-04 Thread Ursula Hermann
bruary 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe

[NTG-context] side-by-side paragraphs broken?

2023-08-13 Thread Thomas A. Schmitz
if this has been reported yet. All best Thomas \setuppapersize[A4,landscape] \setuplayout[height=fit, width=middle, header=0cm, footer=0cm, leftmargin=2cm, topspace=1.2cm, backspace=1.5cm] \showframe

[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
tmargindistance=-\rightmargintotal, default={inner,none,low,high}, ] \setupcaption[marginfigure][ style={\ss\tfx}, align={flushleft}, width=\leftmarginwidth, %location={innermargin,low}, ] \starttext \showframe \startplacemarginfigure[ location={inner,3*hang}, title={My caption shou

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
te: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}     \frozen\widowpenalty    1     \frozen\clubpenalty 1     \frozen\displaywidowpenalty 1     \frozen\brokenpenalty   0 % \

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Keith McKay
Thanks Hans! I'll have a play and keep an eye on updates Best Wishes Keith On 21/07/2023 17:10, Hans Hagen via ntg-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}     \frozen

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen via ntg-context
Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default] \directsetup{*reset} \frozen\widowpenalty1 \frozen\clubpenalty 1 \frozen\displaywidowpenalty 1 \frozen\brokenpenalty 0

[NTG-context] Re: new upload

2023-07-10 Thread Hans Hagen
27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - vz.pdf Description: Adobe PDF document \starttext \startbuffer[vz-1] \starttext \showframe[text] \enabletrackers

[NTG-context] error in column sets

2023-06-19 Thread Henning Hraban Ramm via ntg-context
the same as in the manual) shows that some column set spans don’t appear: \showgrid\showframe \definecolumnset[Beispiel][n=3] \definecolumnsetspan[Zwei][n=2,color=blue] \definecolumnsetspan[Drei][n=3,color=red] \starttext \startcolumnset[Beispiel] \startcolumnsetspan[Drei]% this works {\bfd

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
I found a MWE that shows the problem: """ \setuppapersize[C5] \showframe \starttext \startplacefigure[location=page,title={Pagefloat}] \framed[width=\textwidth,height=.75\textheight]{TEST} \stopplacefigure \dorecurse{4}{\section{Tufte \recurselevel} \samplefile{tuf

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
, align={flushleft,broad} ] {\startexemple \getinlineuserdata \stopexemple} \stopsetups \showframe \starttext \startchapter[title={First Chapter},ownnumber=1] \startdefinition \input ward \stopdefinition \startuserdata [margintext] \input ward \stopuserdata

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
of the combination coincides with the centre of the text area of a page. Hi Keith, I think the following sample might achieve what you want: \showframe \setupexternalfigures[location={default}] \setuplayout [backspace=2.5cm, topspace=1cm, height=28cm, width=17cm, header=0cm

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
, ] \setuppagenumbering[state=start,alternative=doublesided,location=margin] \useMPlibrary [dum] \starttext %%% Me %%% \showframe [text] [text] \definelayer[test3] \setlayer[test3][] \centerbox{ {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
gt; > > > > > \useMPlibrary [dum] > > > > > > \starttext > > > > > > \definelayer[test3] > > > > > > \setlayer[test3][x=2cm,y=15cm] > > > > > > {\startcombination[nx=3,ny=1,distance=15mm,after=,location

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
text > > > > \definelayer[test3] > > > > \setlayer[test3][x=2cm,y=15cm] > > > > {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] > > > > {\externalfigure[dummy]}{} > > > > \rotate[rotation=90]{\externalfigure[dumm

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/23 17:59, Keith McKay via ntg-context wrote: > Hi, > > I would like to position a combination of images where the centre of the > combination coincides with the centre of the text area of a page. Hi Keith, I think the following sample might achieve what you want:

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
]}{} {\externalfigure[dummy][]}{} \stopcombination} \flushlayer[test3] \stoptext \useMPlibrary [dum] \showframe [text] [text] \setuplayout [tight] \starttext \centerbox    {\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]     \bTR     \bTD     \externalfigure[dummy

[NTG-context] Problem with \setuplayout parameters being ignored

2023-03-05 Thread Keith McKay via ntg-context
eld[Text][Text], direction = "down", alternative = "linear", colors = { "MyColor1", "MyColor2" }, ] ; StopPage; \stopMPcode} ] \showframe \setupbackgrounds[page][background=apage] \setupbackgrounds[footer][text] [background=color, backgroundcolor=blue]

[NTG-context] \startnarrow seems to have no effect for tabulate

2023-02-22 Thread Denis Maier via ntg-context
Hi, I need to have a table set with tabulate centered and a bit narrower. But it seems that \startnarrow has no effect on the tabulate. Am I missing something ? Is there a better way to achieve the same thing? Best, Denis \starttext \showframe \startplacefigure[location=force,number

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
 : On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
above the (framed) title and align the section number with the first line (it's on the second line) Any idea? Many thanks. ### \showframe \showlayout \showgrid \setuplayout[ grid=yes, ] \define[2]\MySection{\framed[ location=keep, frame=on, width=broad, % height=22pt

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
t=0pt] > {#2}} > > \setuphead > [chapter]%,section,subsection] > [command=\ChapterCommand, >style=\ss\bf\tfd, >color=darkred] > > \setuphead > [title]%,subject,sububject] > [command=\TitleCommand, >style=\ss\bf\tfd, >color=darkred

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
ion] [command=\ChapterCommand, style=\ss\bf\tfd, color=darkred] \setuphead [title]%,subject,sububject] [command=\TitleCommand, style=\ss\bf\tfd, color=darkred] \setupbodyfont[bonum,rm,12pt] \showframe \starttext \startchapter[title={Introduction}] This is the chapter for introduct

[NTG-context] layout for marked pages?

2023-01-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuplayout[width=middle] \definelayout[odd][reset] \definelayout[even][reset] \doiftext{\markedpages[zapf]} {\doloopoverlist{\markedpages[zapf]} {\definelayout[\recursestring][page]}} \starttext \dorecurse{50}{\input

Re: [NTG-context] Subject: Leading spaces verbatim

2023-01-28 Thread Kalouguine Andre via ntg-context
Hi Pablo, > \showframe > \setupinteraction[state=start] > \starttext > \startbuffer[abc] > def foo(x): > if x == 0: > bar() > else: > baz(x) > foo(x - 1) > \stopbuffer > \comment[location=leftmargin, > space=yes, > buffer=abc, > title={P

Re: [NTG-context] Subject: Leading spaces verbatim

2023-01-28 Thread Pablo Rodriguez via ntg-context
g your point with the following sample: \showframe \setupinteraction[state=start] \starttext \startbuffer[abc] def foo(x): if x == 0: bar() else: baz(x) foo(x - 1) \stopbuffer \comment[location=leftmargin, space=yes, buffer=abc, title={Python code}] {}\ty

[NTG-context] Problem with float and new layout on same page

2022-12-25 Thread peter.hopcroft--- via ntg-context
My MWE below produces this pdf. My problem is that on page 2, the body text flows beyond its frame and into the footer distance. Regards, Peter Play.pdf Description: Adobe PDF document MWE: \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE] \showframe \definelayout[mypage

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread peter.hopcroft--- via ntg-context
> 2 - On pages 5 and 6, the text flows beyond the bottom of the frame. >> It should stop at the bottom of the frame. > > Hi Peter, > > as in my reply from yesterday, this seems to fix your bugs: > > \showframe > \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE]

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread Pablo Rodriguez via ntg-context
and 6 have the [short] layout. They should have the > default layout. > > 2 - On pages 5 and 6, the text flows beyond the bottom of the frame. > It should stop at the bottom of the frame. Hi Peter, as in my reply from yesterday, this seems to fix your bugs: \showframe

[NTG-context] Seems to be a bug with \definelayout

2022-12-09 Thread peter.hopcroft--- via ntg-context
and the text flows within the frames. Peter %== \showframe \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE] \setuplayout[backspace=80mm, width=100mm, topspace=50mm, header=0mm, footer=0mm, height=200mm, margindistance=10mm, leftmargin=40mm

[NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-08 Thread peter.hopcroft--- via ntg-context
the LMTX I updated a few days ago. ConTeXt online’s pdf is the same. %== \showframe \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE] \setuplayout[backspace=80mm, width=100mm, topspace=50mm, header=0mm, footer=0mm, height=200mm, margindistance

Re: [NTG-context] Margin figure in itemize

2022-11-22 Thread Alain Delmotte via ntg-context
] % \showframe \definefloat   [marginfigure]   [figure] \setupfloat   [marginfigure]   [outermargindistance=-\outermargintotal,   default={outermargin,height,high,low,none}] \starttext \startstaticMPfigure{square}   draw fullsquare scaled 3cm; \stopstaticMPfigure \startitemize   \placemarginfigure

Re: [NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
document: \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] % \setupbodyfont[reset,modern] % \setupalign[hz] \startluacode function userdata.test(head) local last_line = node.tail(head) local i = 1

[NTG-context] Margin figure in itemize

2022-11-21 Thread Alexandre Christe via ntg-context
] \setuplayout [header=0pt, margin=4cm, footerdistance=.5cm, topspace=1cm, backspace=1cm, cutspace=2cm, width=fit, height=\dimexpr \paperheight-\topspace+\footerheight+\footerdistance-4cm\relax] % \showframe \definefloat [marginfigure] [figure] \setupfloat [marginfigure

Re: [NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Hans Hagen via ntg-context
On 11/21/2022 10:20 AM, Max Chernoff via ntg-context wrote: Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansi

[NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] % \setupbody

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
t;> Hi, >>>>> >> I find that for some time (but maybe the problem comes from me !), >>>>> the >>>>> >> placement of a figure at the bottom of the page causes a page break >>>>> when >>>>> >> it seems to me that there is

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
seems to me that there is enough space, which poses some problems in > >> the pagination of my documents. > > > > Hi Fabrice, > > > > your figure requires about 7¼ lines (one line before, six for the image > > itself, and some extra space after it). > > > >

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Bruce Horrocks via ntg-context
> Your layout for the first page only allows 43 lines and sample text ends > on line 37. > > Replace \showframe with \showgrid and you will see that there might be > not enough space to fit the image in the first page. > > Add "bottomspace=7.25mm" to the layout for the f

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Pablo Rodriguez via ntg-context
ome problems in > the pagination of my documents. Hi Fabrice, your figure requires about 7¼ lines (one line before, six for the image itself, and some extra space after it). Your layout for the first page only allows 43 lines and sample text ends on line 37. Replace \showframe with \showgrid a

[NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Fabrice Couvreur via ntg-context
] \setupfloat [recipe] [default={right,none}] \showframe \starttext \dorecurse{11}{\input ward} \placerecipe{}{\externalfigure[dum]} \stoptext ___ If your question is of interest to others as well, please add

Re: [NTG-context] \showstruts displaces text in LMTX

2022-10-19 Thread Hans Hagen via ntg-context
On 10/19/2022 8:48 PM, Pablo Rodriguez via ntg-context wrote: Dear list, compiling the following sample with current latest (2022.10.15 10:37): \showframe \showstruts \setuppapersize[A6] \setupnotation[footnote] [alternative=serried] \starttext a\footnote{\input zapf

[NTG-context] \showstruts displaces text in LMTX

2022-10-19 Thread Pablo Rodriguez via ntg-context
Dear list, compiling the following sample with current latest (2022.10.15 10:37): \showframe \showstruts \setuppapersize[A6] \setupnotation[footnote] [alternative=serried] \starttext a\footnote{\input zapf} \stoptext I get the text in the footnote is displaced. It only

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Rik Kabel via ntg-context
On 2022-10-11 15:06, Leah Neukirchen via ntg-context wrote: Henning Hraban Ramm via ntg-context writes: Am 11.10.22 um 20:00 schrieb Leah Neukirchen via ntg-context: Hello, I noticed the following problem: \showframe \startluacode fonts.protrusions.vectors.pure[0x201C] = { 1, 1

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-11 Thread Leah Neukirchen via ntg-context
Henning Hraban Ramm via ntg-context writes: > Am 11.10.22 um 20:00 schrieb Leah Neukirchen via ntg-context: >> Hello, >> I noticed the following problem: >> \showframe >> \startluacode >>fonts.protrusions.vectors.pure[0x201C] = { 1, 1 } >> \stopluacode

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-11 Thread Henning Hraban Ramm via ntg-context
Am 11.10.22 um 20:00 schrieb Leah Neukirchen via ntg-context: Hello, I noticed the following problem: \showframe \startluacode fonts.protrusions.vectors.pure[0x201C] = { 1, 1 } \stopluacode \definefontfeature[default][default][protrusion=pure] \setupalign[hanging] \starttext This text

[NTG-context] \quotation, protrusion and linebreaking

2022-10-11 Thread Leah Neukirchen via ntg-context
Hello, I noticed the following problem: \showframe \startluacode fonts.protrusions.vectors.pure[0x201C] = { 1, 1 } \stopluacode \definefontfeature[default][default][protrusion=pure] \setupalign[hanging] \starttext This text is unquoted. “This text is quoted manually.” \quotation

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Max Chernoff via ntg-context
Hi Hraban, > > As soon as I use floats, text isn’t typeset on the grid any more: > > > > > > \setuppaper[A5] > > \setuplayout[grid=yes] > > \showframe\showgrid > > Oops, my bad: It must be "grid=on". > But didn’t work "yes"

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
Am 03.10.22 um 14:02 schrieb Henning Hraban Ramm via ntg-context: As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid Oops, my bad: It must be "grid=on". But didn’t work "yes" in earli

[NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid \setupexternalfigure[ location={local,global,default}, ] \starttext \samplefile{lorem} \startplacefigure[location=left,title=left]% \externalfigure[mill][width=.25

[NTG-context] Question to footnote settings

2022-08-25 Thread Tomáš Hála via ntg-context
(see p. 1). (Number alignment to the right is required.) Thanks in advance for some hints. Tomáš MWE: \setupnotation[footnote][ alternative=left, width=1em, numbercommand={\hfill\high}, ] \starttext \showframe[text][text] \dorecurse{6}{This is a text.\footnote{\dorecurse{12}{Blah blah blah

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
] \definefontfamily [documentfont] [tt] [Noto Sans Mono] \setupbodyfont [documentfont,24pt] \setuppapersize [A4,landscape,rotated,270] [A4,portrait] \setuplayout[middle] \showframe \setuphead [chapter] [numbercolor=darkred, conversion=chinesenumerals] \setuptolerance [verytolerant,stretch

[NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread 黄复雄 via ntg-context
] \usebodyfont [mschinese,20pt] \showframe \starttext \dorecurse{5}{“好?!;”“:,。”} % linebreak sutck \dorecurse{30}{“我”} % linebreak sutck \dorecurse{30}{我} % linebreak work \dorecurse{30}{我。} % linebreak work \stoptext ``` What I see between any two consecutive punctuations are 1

[NTG-context] Can't no break between a close punctuation and a open punctuation

2022-07-29 Thread 黄复雄 via ntg-context
width punctuations in Chinese document. ```lmtx \setscript[hanzi] \usetypescriptfile[mscore] \usebodyfont [mschinese,20pt] \showframe % just for watching node list % \startluacode % local watch = require("watch_sys_actions.lua") % watch.register() % \stopluacode \starttext \d

Re: [NTG-context] overfull lines

2022-07-22 Thread Steffen Wolfrum via ntg-context
ootnotes? >> MWE: >> \setuppapersize[A10] >> \overfullrule5\points >> %\version[temporary] >> \starttext >> \showframe >> XX\footnote{xxx} >> \stoptext > \let\dontcomplain\relax … no, I can't complain ;o) Thank you! Steffen

Re: [NTG-context] overfull lines

2022-07-22 Thread Hans Hagen via ntg-context
On 7/21/2022 5:02 PM, Steffen Wolfrum via ntg-context wrote: Hi, the command \version[temporary] shows an overfullrule when lines are set overfull. How does this work also in footnotes? MWE: \setuppapersize[A10] \overfullrule5\points %\version[temporary] \starttext \showframe XX

[NTG-context] overfull lines

2022-07-21 Thread Steffen Wolfrum via ntg-context
Hi, the command \version[temporary] shows an overfullrule when lines are set overfull. How does this work also in footnotes? MWE: \setuppapersize[A10] \overfullrule5\points %\version[temporary] \starttext \showframe XX\footnote{xxx} \stoptext Steffen

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
starttext \showframe \startbuffer row\currentxtablerow--col\currentxtablecolumn \stopbuffer \startbuffer[table] \startxtable[option={stretch, height}, align={lohi, middle}] \startxrow \dorecurse{5} {\startxcell[width=.115\textwidth]\inlinebuffer\

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
On 6/30/22 09:46, Angel M Alganza via ntg-context wrote: > [...] > How about the auto row height? That'd be the only thing I'm missing. Hi Ángel, I’m not sure whether I’m totally missing your point, but I think this is a way that might achieve what you want: \starttext \sho

[NTG-context] indent in \setuptyping

2022-06-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuppapersize[A8] \setuptyping [align={right,broad}, strip=yes, lines=yes, blank=halfline] \starttext \startXML content content content content content content content content

  1   2   3   4   5   6   7   8   9   10   >